/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package server.votesending;

import java.io.IOException;
import java.io.OutputStream;

public interface Framer {


    //wysylamy komunikat na strumien dodajac informacje o ramce
    void frameMsg(byte[] message, OutputStream out) throws IOException;

    //zwracamy komunikat ze strumienia
    byte[] nextMsg() throws IOException;
}

